package www.wen.com.common.lib.extension

/**
 * @author WEN
 * @Description:
 * @date 2021/7/7 11:59
 */


fun Boolean.toInt() = if(this) 1 else 0

fun Int.toBoolean() = this == 1

